package com.yq.backend.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class CardProduct implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "奖品名称")
    private String name;

    @ApiModelProperty(value = "图片")
    private String pic;

    @ApiModelProperty(value = "简介")
    private String info;

    @ApiModelProperty(value = "市场价")
    private BigDecimal price;

    @ApiModelProperty(value = "总数")
    private long total;

    @ApiModelProperty(value = "剩余数量")
    private long surplus;

}
